<% title _("Download generated report") %>
<%= react_component('TemplateGenerator', data: { templateName: @template.name }) %>
<% content_for(:javascripts) do -%>
  <script type="text/javascript">
    tfm.templateInputs.pollReportData('<%= @data_url %>');
  </script>
<% end -%>
